using System.ComponentModel.DataAnnotations;

namespace Yozeev.Web.Portal.Models.Account
{
    public class ResetPasswordViewModel
    {
        /// <summary>
        /// 新密码
        /// </summary>
        [Required]
        public string NewPassword { get; set; }

        /// <summary>
        /// 确认密码
        /// </summary>
        [Required]
        public string ConfirmPassword { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        [Required]
        public string Code { get; set; }

        /// <summary>
        /// 重置密码的code
        /// </summary>
        [Required]
        public string ResetCode { get; set; }

        public string Error { get; set; }


    }
}
